Skip to content

Conversation

@FeodorFitsner
Copy link
Contributor

No description provided.

Renamed 'init' to 'build' in MatplotlibChart for clarity. Changed pan and zoom toolbar icons in tests to use OPEN_WITH and SEARCH for better representation.
Added MatplotlibChartMessageEvent and MatplotlibChartToolbarButtonsUpdateEvent to the public API in __init__.py. Also replaced async canvas capture methods with their synchronous counterparts in MatplotlibChart for image handling.
Refactored src/flet_charts/matplotlib_chart.py for improved readability, async focus handling, and event argument types. Updated test files to use consistent formatting, removed unused imports, and replaced deprecated FilePicker API usage. Enhanced code clarity and maintainability across chart and test modules.
Introduces MatplotlibChartWithToolbar for integrated chart and toolbar controls. Updates __init__.py to export the new class, refactors tests/mpl_v2_basic.py to use MatplotlibChartWithToolbar, and adds debug output and minor improvements to MatplotlibChart.
Added 'isolated=True' to chart controls for better encapsulation. Replaced print statements with logger.debug for improved logging. Refactored test files to use MatplotlibChartWithToolbar, simplifying toolbar and event handling logic, and added a new 3D chart test.
Moved the matplotlib backend configuration to the main library file (matplotlib_chart.py) and removed redundant backend setting from all test files. This centralizes backend setup and simplifies test scripts.
Specifies the figure size in the 3D plot test and removes the 'expand=True' argument from MatplotlibChartWithToolbar for consistency and improved layout control.
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Oct 2, 2025

Deploying flet-charts-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 122c6bd
Status: ✅  Deploy successful!
Preview URL: https://f2e098fd.flet-charts-docs.pages.dev
Branch Preview URL: https://feodor-v1-matplotlib-interac.flet-charts-docs.pages.dev

View logs

Refactored the download method to instantiate FilePicker inline instead of assigning it to a variable, simplifying the code.
@FeodorFitsner FeodorFitsner merged commit 0ac3e27 into main Oct 2, 2025
6 checks passed
@FeodorFitsner FeodorFitsner deleted the feodor/v1-matplotlib-interactive branch October 2, 2025 01:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants